import Vue from 'vue'
import App from './App.vue'
import router from './router'

//引入ElementUI
import ElementUI, {Message} from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

// import ImageUpload from "@/components/ImageUpload";
// Vue.component('ImageUpload', ImageUpload)

Vue.use(ElementUI)      //vue中使用ElementUI的组件
Vue.use(Message.name, Message)//引入消息组件


Vue.config.productionTip = false

new Vue({
    router,
    render: h => h(App)
}).$mount('#app')
